/*
 * IEmptyNode.h
 *
 *  Created on: 15.11.2012
 *      Author: caffeine
 */

#ifndef IEMPTYNODE_H_
#define IEMPTYNODE_H_

#include <ISceneNode.h>

namespace irr{
namespace scene{

class IEmptyNode:public ISceneNode{
public:
	virtual void render(){}

	virtual const core::aabbox3d<f32>& getBoundingBox() const{
		if (getParent())
			return getParent()->getBoundingBox();
		return irr::core::aabbox3d<f32>(0,0,0,0,0,0);
	}

	IEmptyNode(ISceneNode* parent, ISceneManager* mgr, s32 id=-1,
					const core::vector3df& position = core::vector3df(0,0,0),
					const core::vector3df& rotation = core::vector3df(0,0,0),
					const core::vector3df& scale = core::vector3df(1.0f, 1.0f, 1.0f)):ISceneNode(parent,mgr,id,position,rotation,scale){}

	void force_setSceneManager(ISceneManager* mgr){
		this->setSceneManager(mgr);
	}
};

}
}
#endif /* IEMPTYNODE_H_ */
